<template>
  <div>
    <span style="margin: 0 0 0 1vw">项目名称:</span>
    <el-input
      style="width: 200px; margin: 0 0 0 0.5vw"
      v-model="queryForm.projectName"
      placeholder="请输入内容"
      size="small"
    ></el-input>
    <el-button
      type="primary"
      size="small"
      @click="search"
      style="margin: 0 0 0 1vw"
      >搜索</el-button
    >
  </div>
</template>

<script>
import axios from "axios";
export default {
  data() {
    return {
      queryForm: {
        projectName: "",
      },
    };
  },
  methods: {
    //搜索
    search() {
      this.$emit("searches", this.queryForm);
    },
  },
};
</script>

<style scoped>
</style>